#include "ET++.ph"
#ifdef __GNUG__
#pragma implementation
#endif

#include "Separator.h"

#include "Class.h"
#include "Look.h"

//---- Separator ---------------------------------------------------------------

NewMetaImpl0(Separator, VObject);

Separator::Separator() : VObject(cIdNone)
{
	ResetFlag(eVObjEnabled);
}

void Separator::Enable(bool, bool)
{
}

Metric Separator::GetMinSize()
{
	return gLook->MenuLineLayout()->GetMinSize(this);
}

void Separator::DrawInner(Rectangle r, bool)
{
	gLook->MenuLineLayout()->Adorn(this, r);
}

